Add a note to the ::destroy docs
authorMatthias Clasen <mclasen@redhat.com>
Sun, 7 Dec 2014 23:12:46 +0000 (18:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Dec 2014 23:12:46 +0000 (18:12 -0500)
Clarify that ::destroy is not suitable for saving widget state.

https://bugzilla.gnome.org/show_bug.cgi?id=710793

gtk/gtkwidget.c

index af5f74c5e422c173f2b0a73a29621fa6ef78c9a7..515f1af43e439efe2d7db9fd9a010dc22f88518a 100644 (file)
@@ -1657,6 +1657,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS
    * Signals that all holders of a reference to the widget should release
    * the reference that they hold. May result in finalization of the widget
    * if all references are released.
+   *
+   * This signal is not suitable for saving widget state.
    */
   widget_signals[DESTROY] =
     g_signal_new (I_("destroy"),